package com.tj.bo.user.server;
import com.tj.bo.user.client.TestService;
import com.tj.bo.user.client.vo.TestVo;
import com.tj.bo.user.server.dao.RiskHighmarkReportDao;
import com.tj.bo.user.server.dao.TestDao;
import com.tj.bo.user.server.entity.RiskHighmarkReportEntity;
import com.tj.bo.user.server.entity.TestEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * User: binary (mr.vencnet@gmail.com)
 * Date: 2020-06-01
 * Time: 16:59
 */
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private RiskHighmarkReportDao riskHighmarkReportDao;

    @Autowired
    private TestDao testDao;

    @Override
    public TestVo test() {
        TestEntity testEntity = testDao.selectByPrimaryKey(1L);
        return new TestVo().setContent(testEntity.getAppName());
    }


}
